package com.repair.sms.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author chunyu
 * @since 2024/9/18,19:31
 */
@Setter
@Getter
@ConfigurationProperties(prefix = SmsProperties.PREFIX)
public class SmsProperties {

    public static final String PREFIX = "spring.sms";

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String signName;

    private String templateCode;

    // 是否开启
    private boolean enabled;

}
